﻿using Shake.Framework.Infrastructure;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Shake.Framework.Migrations
{
    //public class LogRecordMigration : ShakeMigration
    //{
    //    public void Version1()
    //    {
    //        CreateTable("LogRecord", c => new
    //        {
    //            Id = c.Long(false, true)

    //        }).PrimaryKey(c => c.Id);

    //        AddColumn("LogRecord", "LogAt", c => c.DateTime(false));
    //        AddColumn("LogRecord", "Level", c => c.String(false, 10, false, true));
    //        AddColumn("LogRecord", "Message", c => c.String(false, null, false, true, string.Empty));
    //        AddColumn("LogRecord", "StackTrace", c => c.String(false, null, false, true, string.Empty));
    //        AddColumn("LogRecord", "User", c => c.String(false, 30, false, true, string.Empty));
    //        AddColumn("LogRecord", "URL", c => c.String(false, 120, false, true, string.Empty));
    //        AddColumn("LogRecord", "INFO", c => c.String(false, null, false, true, string.Empty));
    //    }
    //}
}
